/*
 * @Description: 预约单详情数据模型
 * @Author: buwei.huang
 * @Date: 2019-08-15 15:09:29
 * @Last Modified by: buwei.huang
 * @Last Modified time: 2019-08-15 15:49:49
 */

export default class ReservationDetailModel {
  /**
   * @param {String} orderNo 预约单号
   * @param {Array} btnList 当前可操作按钮列表
   * @param {Number} state 预约状态
   * @param {String} stateDesc 预约状态描述
   * @param {String} stateDetailDesc 预约状态详细描述
   * @param {Object} startPoint 出发站点
   * @param {Array} passbyPointList 途径站点
   * @param {Object} endPoint 途径站点
   * @param {Number} startTime 开始时间
   * @param {Number} endTime 结束时间
   * @param {Number} createTime 创建时间
   * @param {Number} passengerNum 乘车人数
   * @param {Number} reservationCarNum 预约车辆数
   * @param {String} contact 联系人
   * @param {String} contactPhone 联系人电话
   * @param {String} secondContact 第二联系人
   * @param {String} secondContactPhone 第二联系人电话
   * @param {String} email 邮箱
   * @param {String} userMemo 用户备注
   * @param {Array} driverList 司机车辆信息列表
   * @param {Array} depositAmount 定金金额
   */
  constructor(
    orderNo,
    btnList,
    state,
    stateDesc,
    stateDetailDesc,
    startPoint,
    passbyPointList,
    endPoint,
    startTime,
    endTime,
    createTime,
    passengerNum,
    reservationCarNum,
    contact,
    contactPhone,
    secondContact,
    secondContactPhone,
    email,
    userMemo,
    driverList,
    depositAmount
  ) {
    this.orderNo = orderNo
    this.btnList = btnList
    this.state = state
    this.stateDesc = stateDesc
    this.stateDetailDesc = stateDetailDesc
    this.startPoint = startPoint
    this.passbyPointList = passbyPointList
    this.endPoint = endPoint
    this.startTime = startTime
    this.endTime = endTime
    this.createTime = createTime
    this.passengerNum = passengerNum
    this.reservationCarNum = reservationCarNum
    this.contact = contact
    this.contactPhone = contactPhone
    this.secondContact = secondContact
    this.secondContactPhone = secondContactPhone
    this.email = email
    this.userMemo = userMemo
    this.driverList = driverList
    this.depositAmount = depositAmount
  }
}
